public class SportTeacher extends Teacher implements Sport {
    @Override
    public void playBasketball() {
        System.out.println("年龄为"+age+"岁"+name+"老师，正在打篮球");
    }

    public SportTeacher() {
    }

    public SportTeacher(String name, int age) {
        super(name, age);
    }
}
